package com.gufe.entity;

import lombok.Data;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Post {
    private Integer id; // 帖子ID
    private Integer userId; // 用户ID
    private String content; // 帖子内容
    private String imgUrl; // 图片URL
    private Integer commentCount; // 帖子点赞数
    private LocalDateTime createdAt; // 创建时间
    private LocalDateTime updatedAt; // 更新时间
}

